#ifndef __SEQLIST_H__
#define __SEQLIST_H__
#include <stdbool.h>
typedef int ElemType;
struct SeqList //描述顺序表的类型
{
    ElemType*data;//指向存储数据的空间
    int capacity;//容量=最大元素个数
    int num;
    //...
};
extern bool Init_SeqList(struct SeqList*l, int max_num);
extern struct SeqList*Create_SeqList(int max_num);
extern void Destroy_SeqList(struct SeqList* l);
extern void Print_int_SeqList(struct SeqList*l);
extern bool Insert_front(struct SeqList*l, ElemType d);
extern bool Insert_tail(struct SeqList*l, ElemType d);
extern bool Insert_pos(struct SeqList*l, int pos, ElemType d);
extern bool Delete_x(struct SeqList*l, ElemType d);
extern bool Delete_x_1(struct SeqList*l, ElemType d);
extern int Get_Elem(struct SeqList*l, ElemType x);
extern bool Get_index_Elem(struct SeqList*l, int index, ElemType* x);
extern struct SeqList* Create_Input_SeqList(int capacity);
#endif